﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace BookShop.DTO
{
    public class Order
    {
        public long Id { get; set; }
        public long? CustomerId { get; set; }
        public DateTime CreateTime { get; set; }
        public int Status { get; set; }
        public double? TotalPrice { get; set; }
        public int? TotalProductCount { get; set; }
        public string PrimaryShippingAddress { get; set; }
        public string SecondaryShippingAddress { get; set; }
        public string ReceiverName { get; set; }
        public string ReceiverPhone { get; set; }
        public string ReceiverEmail { get; set; }

        [NotMapped]
        public string CustomerName { get; set; }
    }
}
